package com.effectivsocial.web.controller;

import javax.inject.Named;

import lombok.extern.slf4j.Slf4j;

import org.springframework.context.annotation.Scope;

import com.effectivsocial.domain.User;
import com.effectivsocial.security.SecurityUtil;
@Named
@Scope("view")
@Slf4j
public class CommonController {
	
	public User getUser() {
		return SecurityUtil.getUserDetails();
	}
}
